﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Amazon.DynamoDBv2;

namespace AmazonDynamoDBStub.EntityFramework
{
    public static class AmazonDynamoDBStubFactory
    {
        public static AmazonDynamoDB CreateAmazonDynamoDBv2Client()
        {
            var context = new DynamoDBStubContext();
            var dynamoDBTableRepository = new DynamoDBTableRepository(context);
            var dynamoDBAttributeRepository = new DynamoDBAttributeRepository(context);
            return new AmazonDynamoDBClient(dynamoDBTableRepository, dynamoDBAttributeRepository);
        }
    }
}
